package com.pay.dao;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.pay.domain.po.PayOrder;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author ZhouYihe 1552951165@qq.com
 * @create 2024/10/26 21:28
 * @description 商品的支付单表 Mapper 接口
 */
@Mapper
public interface PayOrderMapper {
    
    void insert(PayOrder payOrder);
    
    PayOrder queryUnPayOrder(PayOrder payOrder);
    
    void updateOrderPayInfo(PayOrder payOrder);
    
    void changeOrderPaySuccess(PayOrder order);
    
    List<String> queryNoPayNotifyOrder();
    
    List<String> queryTimeoutCloseOrderList();
    
    boolean changeOrderClose(String orderId);
}
